package cn.lil.model;

public class Bearing {
    private int id;
    private String type;
    private String model;
    private int data;
    private String life;
    private String imgSrc;
    private float price;
    private int inventory;
    private String content;
    public Bearing() {
    }

    @Override
    public String toString() {
        return "Bearing{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", model='" + model + '\'' +
                ", data=" + data +
                ", life='" + life + '\'' +
                ", imgSrc='" + imgSrc + '\'' +
                ", price=" + price +
                ", inventory=" + inventory +
                ", content='" + content + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public int getData() {
        return data;
    }

    public void setData(int data) {
        this.data = data;
    }

    public String getLife() {
        return life;
    }

    public void setLife(String life) {
        this.life = life;
    }

    public String getImgSrc() {
        return imgSrc;
    }

    public void setImgSrc(String imgSrc) {
        this.imgSrc = imgSrc;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getInventory() {
        return inventory;
    }

    public void setInventory(int inventory) {
        this.inventory = inventory;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Bearing(int id, String type, String model, int data, String life, String imgSrc, float price, int inventory, String content) {
        this.id = id;
        this.type = type;
        this.model = model;
        this.data = data;
        this.life = life;
        this.imgSrc = imgSrc;
        this.price = price;
        this.inventory = inventory;
        this.content = content;
    }
}
